package com.sitc.street_lab_2013.entities;

public class Location {

	private int id;
	private String locationQuestion;
	private String locationName;
	private String locationImage;
	private double locationLat;
	private double locationLong;
	private boolean locationIsAnswered;
	


	public Location () {}
	
	public Location (int id, String locQuestion, String locName, String locImg, double locLat, double locLong, int isAnswered){
		this.id = id;
		locationQuestion = locQuestion;
		locationName = locName;
		locationImage = locImg;
		locationLat = locLat;
		locationLong = locLong;
		locationIsAnswered = isAnswered == 1 ? true : false;
	}
	
	public String getLocationQuestion() {
		return locationQuestion;
	}
	public void setLocationQuestion(String locationQuestion) {
		this.locationQuestion = locationQuestion;
	}
	public String getLocationName() {
		return locationName;
	}
	public void setLocationName(String locationName) {
		this.locationName = locationName;
	}
	public String getLocationImage() {
		return locationImage;
	}
	public void setLocationImage(String locationImage) {
		this.locationImage = locationImage;
	}
	public double getLocationLat() {
		return locationLat;
	}
	public void setLocationLat(double locationLat) {
		this.locationLat = locationLat;
	}
	public double getLocationLong() {
		return locationLong;
	}
	public void setLocationLong(double locationLong) {
		this.locationLong = locationLong;
	}
	public int getId() {
		return id;
	}
	
	public boolean getLocationIsAnswered() {
		return locationIsAnswered;
	}

	public void setLocationIsAnswered(boolean locationIsAnswered) {
		this.locationIsAnswered = locationIsAnswered;
	}
}
